﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wimm.Common.Entities;

namespace Wimm.Common.Interfaces.Services
{
    public enum AuthenticationMode 
    { 
        Anonymus , 
        PasswordProtected, 
        Multiuser 
    } 

    public interface IUserService
    {
        AuthenticationMode GetAuthMode();
        Task<IEnumerable<User>> LoadUsers();
        bool Login(User user, string password);
        Task<User> InsertUser(User newUser);
        Task<bool> DoublLogin(string login);
        Task<bool> DoublPassword(string password);
    }
}
